${token}
<div class="form-body">
    <div class="form-group">
        <label class="col-md-3 control-label">Banner名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="name" name="m.name" placeholder="Enter Banner"
                    value="${m.name!}"/>
        </div>
        <span class="status"></span> <#-- 表单校验使用 -->
    </div>
    <div class="form-group">
        <div class="col-md-3 control-label">
                <span class="btn green fileinput-button btn-xs">
                    <i class="fa fa-plus"></i>
                    <span id="buttonname">Banner选择</span>
                    <input type="file" id="bannerimg" name="files[]" onchange="previewImage(this,'previewimg');"/>
                </span>
        </div>
        <#--图标地址存放-->
            <input type="hidden" name="m.imageurl" value="${m.imageurl!}"/>
        <div class="col-md-3">
        <#--数据回传显示-->
            <img id="previewimg" class="media-object" src="" alt="64x64" data-src="holder.js/64x64" style="width: 64px; height: 64px;">
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">访问路径</label>
        <div class="col-md-5">
            <input type="text" id="url" name="m.url" class="form-control" placeholder="Enter url" value="${m.url!}">
        </div>
        <span class="status"></span>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">类型</label>
        <div class="col-md-5">
            <input type="text" id="type" name="m.type" class="form-control" placeholder="Enter type"
                   value="${m.type!}">
        </div>
        <span class="status"></span>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">排序</label>
        <div class="col-md-5">
            <input type="text" id="orders" name="m.orders" class="form-control" placeholder="Enter orders"
                   value="${m.orders!}">
        </div>
        <span class="status"></span>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">是否显示</label>
        <div class="col-md-5">
            <select class="form-control col-md-3" id="status" name="m.status">
                <option value="1">是</option>
                <option value="0">否</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">备注</label>
        <div class="col-md-5">
            <textarea rows="3" name="m.remark" class="form-control">${m.remark!}</textarea>
        </div>
    </div>
</div>